﻿using Jy.Abp.Enums;
using System.Collections.Generic;

namespace AbpProjectTemplate.Shared
{
    public class EnumAppService : AppService
    {
        /// <summary>
        /// 获取所有需要显示给客户端的枚举类型
        /// </summary>
        public IDictionary<string, List<EnumItem>> GetAll()
        {
            return EnumHelper.GetShowOnApiItems();
        }
    }
}
